/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package es.unavarra.mti.iws.logic.editor;

/**
 *
 * @author Asier
 */
public class TouchEvent {
    public static final byte TYPE_UP = 1;
    public static final byte TYPE_DOWN = 2;
    public static final byte TYPE_MOVE = 3;
    public static final byte TYPE_DRAG = 4;

    public byte type;
    public byte n;
    public float x,y;

    public TouchEvent(byte type, int n, float x, float y) {
        this.type = type;
        this.n = (byte)n;
        this.x = x;
        this.y = y;
    }

    
}
